// eslint-disable-next-line import/no-extraneous-dependencies
import { Request, Response } from 'express';

export default {
  'POST /api/fake/request': (req: Request, res: Response) => {
    const { count } = req.body;
    setTimeout(() => {
      console.log("打印")
      res.send({
        status: 'ok',
        count: count + 1,
        currentAuthority: 'admin',
      })
    }, 10 * 1000);
  }
}